<?php

type
(
	'boolean',
	SQL_TYPE_BOOLEAN,
	PATTERN_BOOLEAN,
	FIELD_CHECKBOX,
	0
);

type
(
	'date',
	SQL_TYPE_DATE,
	PATTERN_DATE,
	FIELD_DATE
);

type
(
	'date_time',
	SQL_TYPE_DATE_TIME,
	PATTERN_DATE_TIME,
	FIELD_DATE_TIME
);

type
(
	'email',
	SQL_TYPE_STRING_LONG,
	PATTERN_EMAIL
);

type
(
	'id',
	SQL_TYPE_INTEGER_UNSIGNED,
	PATTERN_INTEGER_UNSIGNED,
	FIELD_HIDDEN
);

type
(
	'integer',
	SQL_TYPE_INTEGER,
	PATTERN_INTEGER
);

type
(
	'integer_unsigned',
	SQL_TYPE_INTEGER_UNSIGNED,
	PATTERN_INTEGER_UNSIGNED
);

type
(
	'job_frequency',
	SQL_TYPE_STRING_SHORT,
	null,
	FIELD_SELECT,
	null,
	array
	(
		'at',
		'every'
	)
);

type
(
	'job_status',
	SQL_TYPE_STRING_SHORT,
	null,
	FIELD_SELECT,
	null,
	array
	(
		'cancelled',
		'completed',
		'failed',
		'locked',
		'not_supported',
		'pending',
		'running',
		'scheduled'
	)
);

type
(
	'language_iso_code',
	SQL_TYPE_LANGUAGE_ISO_CODE,
	PATTERN_LANGUAGE_ISO_CODE
);

type
(
	'quota_status',
	SQL_TYPE_STRING_SHORT,
	null,
	FIELD_SELECT,
	null,
	array
	(
		'exceeded',
		'not_reached'
	)
);

type
(
	'time_metric',
	SQL_TYPE_STRING_SHORT,
	null,
	FIELD_SELECT,
	null,
	array
	(
		'day',
		'hour',
		'minute',
		'month',
		'quarter',
		'week',
		'year'
	)
);

type
(
	'real',
	SQL_TYPE_REAL,
	PATTERN_REAL
);

type
(
	'real_unsigned',
	SQL_TYPE_REAL,
	PATTERN_REAL_UNSIGNED
);

type
(
	'reference',
	SQL_TYPE_REFERENCE,
	PATTERN_REFERENCE,
	FIELD_HIDDEN
);

type
(
	'string_long',
	SQL_TYPE_STRING_LONG,
	PATTERN_STRING_LONG
);

type
(
	'string_medium',
	SQL_TYPE_STRING_MEDIUM,
	PATTERN_STRING_MEDIUM
);

type
(
	'string_short',
	SQL_TYPE_STRING_SHORT,
	PATTERN_STRING_SHORT
);

type
(
	'text',
	SQL_TYPE_TEXT,
	PATTERN_TEXT,
	FIELD_TEXTAREA
);

type
(
	'text_long',
	SQL_TYPE_TEXT_LONG,
	PATTERN_TEXT,
	FIELD_TEXTAREA
);

type
(
	'text_medium',
	SQL_TYPE_TEXT_MEDIUM,
	PATTERN_TEXT,
	FIELD_TEXTAREA
);

type
(
	'text_short',
	SQL_TYPE_TEXT_SHORT,
	PATTERN_TEXT,
	FIELD_TEXTAREA
);

type
(
	'timestamp',
	SQL_TYPE_TIMESTAMP,
	PATTERN_INTEGER,
	FIELD_DATE
);

?>
